package com.bm.pojo.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;


/**
 * Created with IntelliJ IDEA.
 * User: sx
 * Date: 2022/1/26
 * Time: 16:34
 * Description: java
 */
@Data
@NodeEntity(label = "User")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @Id
    @GeneratedValue
    private Long id;
    /*
    * 账户名
    * */
    @Property
    private String account;
    /*
    * 密码
    * */
    @Property
    private String passord;

    @Property
    private String sex;
    @Property
    private String age;

}
